package com.hnote.hnoteapplication.ui.activity;

import com.hnote.hnoteapplication.base.DataBindingActivity;
import com.hnote.hnoteapplication.ui.utils.decorator.Jacket;
import com.hnote.hnoteapplication.ui.utils.decorator.Jeans;
import com.hnote.hnoteapplication.ui.utils.decorator.Person;

/**
 * Created by Administrator on 2017/3/25 0025.
 */

public class PersonActivity extends DataBindingActivity {


    @Override
    public int getLayoutId() {
        return 0;
    }

    @Override
    public void initView() {

        Person person = new Person("加菲猫");

        Jacket jacket = new Jacket(person);
        Jeans jeans = new Jeans(person);

        jacket.setJacket();
        jeans.setJeans();
    }
}
